﻿using Dynamic.Utils;
using System;
using System.Reflection;

namespace Dynamic.CommonUtility;

/// <summary>
/// 
/// </summary>
public class ServiceLocalSelectController : ISelectController
{
    public bool IsController(Type type)
    {
        return type.IsPublic && type.GetCustomAttribute<ServiceAttribute>() != null;
    }
}